package com.anlgin.anl_tea.service;

import com.anlgin.anl_tea.entities.Attribute;
import com.anlgin.anl_tea.entities.Commodity;
import com.anlgin.anl_tea.entities.CommodityType;

import java.util.List;

public interface ICommodityService {

    public List<Commodity> getCommodities();

    public List<Attribute> getAttributes();

    public void insertCommodity(Commodity commodity);

    public List<CommodityType> getAllCommodityTypes();

    public void addCommodityType(CommodityType commodityType);

    public void deleteCommodityType(CommodityType commodityType);

    public void updateCommodityType(CommodityType commodityType);

    public List<Attribute> getAttributeById(Integer id);

}
